package com.weidft.web.wd.dto;

import com.weidft.dal.basedata.dataobject.HeatingDO;
import com.weidft.web.biz.WDViewTools;

public class HeatingDTO extends HeatingDO {

	public String getRealTotalWeightText()
	{
		if (getAmount()!=null && getUnitWeight()!=null){
			float w = getAmount()*getUnitWeight();
			w = ((int)(w*10+0.5))/10f;			
			return WDViewTools.floatText(w)+" KG";
		}
		return "/";
	}
}
